home *** CD-ROM | disk | FTP | other *** search
Text File | 1992-07-15 | 1.5 KB | 57 lines | [TEXT/MPS ] |
- { NetSimGlobal.p © Copyright G. Sawitzki, 1988-1991}
-
- Unit NetSimGlobal;
- interface
-
- {application specific globals}
-
- type
- {These are the commands we understand.
- Sorry, not the required Apple Events so far.}
-
- tAction = (aNoop,aExample,aDone,aShow,aSetConfig);
-
- const cMyMsgHeaderVersion=5;
-
- type
- {This is the format used to pass internal control messages, and to
- communicate.
-
- We prefer to have the same header format for tasks and results. So the
- header has some overhead.}
-
- tMsgHeaderPtr=^tMsgHeader;
- tMsgHeader=record
- {for debugging & tracing -added as head}
- SampleStat:extended;
- traceInfo:longint; {more application specific information. Will be a frequency in this example}
- version: longint; {good programming practice: use version id in a non-controlled environment}
- action : tAction; {action codes. Generated by master, returned just for info on reply}
- ContentsToken: longint; {type of contents.
- 'NONE' test load, if any
- 'DATA' raw data vector
- 'SDAT' sorted data
- 'PICT' displayable picture
- 'CONF' configuration info
- 'CAPS' capabilities info
- }
- DistributionToken:longint;
- {distribution.
- 'UNIF' Uniform
- 'GAUS' Gaussian/Normal
- 'Cchy' Cauchy
- }
- DisplayToken:longint;
- {display type.
- 'SCAT' Scatter-Diagram
- 'SUMM' Summary report
- 'Hist' Histogram
- 'BoxW' Box&Whisker plot
- }
- SampleSize:integer;
- end;
-
- implementation
-
-
- end.